<link rel="stylesheet" href="ccay/example/demo.css"  type="text/css" />
<script type="text/javascript" src="ccay/example/functionDemo/dimensionManage/dimensionManage.js" charset="utf-8"></script>

<div id="dimensionManageDemo">
<div title="Demo"  tabid='tab2'>
<h4><span>实例：维度管理</span></h4>
<div>
	<form id="dimensionCondForm" class="ccay-form">
		<!--条件输入区域-->
			<div class="ccay-form-body">
				<ul>
					<!--条件输入区域-->
					<li class="ccay-form-row">
					  <samp class="i18n" i18nKey="ccay.security.label.dimensionCode"></samp>
					  <span class='ccay-form-input'>
					    <input type="text" name="dimensionCode" maxlength="200" />
					  </span>
					</li>
					<li class="ccay-form-row">
					  <samp class="i18n" i18nKey="ccay.security.label.dimensionName"></samp>
					  <span class='ccay-form-input'>
					 <input type="text" name="dimensionName" maxlength="200" />
					  </span>
					</li>
				</ul>
			</div>
			<p/>
			<!--条件按钮区域-->
			<div class="ccay-operate">
		 		<span id="btnSearch" class="default ccay-button">
		 			<a class="ccay-icon search"></a>
		 			<label class="i18n" i18nkey="ccay.common.button.search"></label>
		 		</span>
				<span class="init button ccay-button reset">
					<a class="ccay-icon reset"></a>
					<label class="i18n" i18nkey="ccay.common.button.reset"></label>
				</span>
			</div>
	</form>
	<!--grid操作区域-->
	<div class="ccay-grid">
	 <div class="ccay-grid-toolbar">
	 	<span id="btnAdd" class="ccay-button hasPermission" ccayPermission="Service$Dimension$create">
	 		<a class="ccay-icon add"></a>
	 		<label class="i18n" i18nKey="ccay.common.button.add"></label>
	 	</span>
	 	<span id="btnDelete" class="ccay-button hasPermission" ccayPermission="Service$Dimension$delete" onclick="Ccay.example.functionDemo.dimensionManage.showMsg(this)">
	 		<a class="ccay-icon pre-del"></a>
	 		<label class="i18n" i18nKey="ccay.common.button.gridDelete"></label>
	 	</span>
	    <span id="btnSave" class="ccay-button hasPermission" ccayPermission="Service$Dimension$update">
	 		<a class="ccay-icon save"></a>
	 		<label class="i18n" i18nKey="ccay.common.button.save"></label>
	 	</span>
	 	
	 	<div class="ccay-menubutton init hasPermission"  ccayPermission="Service$Dimension$export|Service$Dimension$import">
			<div class="ccay-menubutton-body">
				<a class="ccay-icon excel"></a>
				<span class="i18n" i18nKey="ccay.common.button.importExport"></span>
			</div>
			<a class="ccay-menubutton-btn" href="javascript:void 0"></a>
			<div class="ccay-menubutton-selector">
				<ul>
					<li class="ccay-menubutton-item hasPermission" ccayPermission="Service$Dimension$import" onclick="Ccay.example.functionDemo.dimensionManage.showMsg(this)">
						<a class="ccay-icon import"></a>
						<span class="i18n" i18nKey="ccay.common.button.import"></span>
					</li>
					<li class="ccay-menubutton-item hasPermission" ccayPermission="Service$Dimension$export" onclick="Ccay.example.functionDemo.dimensionManage.showMsg(this)">
						<a class="ccay-icon export"></a>
						<span class="i18n" i18nKey="ccay.common.button.export"></span>
					</li>
					<li class="ccay-menubutton-item hasPermission" ccayPermission="Service$Dimension$import" onclick="location.href='servlet/download?dlType=ExcelTemplate&excelType=ccay.security.dimension'">
						<a class="ccay-icon download"></a>
						<span class="i18n" i18nKey="ccay.common.label.importTemplate"></span>
					</li>
				</ul>
			</div>
		</div>
	 </div>
	 <!--数据表格-->
	 <div id="dimensionGrid"></div>
	</div>
	<div style="float: left;">
		<span>备注：生成维度管理，由于涉及到数据库操作，该Demo只展示界面样式，以及所具有的功能。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 实际操作请点击：系统管理->用户和权限管理->维度管理</span>
	</div>
</div>
</div>
<div title="FAQ">
  <form class="init ccay-form">
    <div class="ccay-form-body">
		<ul>
		    <li class="ccay-form-row">
		        <samp><h3>问题</h3></samp>
				<span class="ccay-form-input">
					<h3>解决方案</h3>
				</span>
			</li>
		</ul>
	</div>		
	<div class="ccay-form-custom">
		<ul>						
			<!-- 若问题和内容较多，可在li中的class加上ccay-form-whole -->
			<li class="ccay-form-row ccay-form-whole">
				<samp class="i18n" i18nKey="1.为什么设置isMultiSelect=false后，不能单选？"></samp>							    
				<span class="ccay-form-input">去掉isMultiSelect=false；若多选，则设置isMultiSelect=true。</span>
			</li>	
		</ul>
	</div>
  </form>						
</div>	
</div>